﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Security.Claims;
using Microsoft.AspNetCore.Authorization;

namespace WebForms
{
    public partial class About : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (HttpContext.Current?.User?.Identity?.IsAuthenticated == true)
            {
                var user = ((ClaimsIdentity)HttpContext.Current?.User?.Identity).Claims;
            }
        }
    }
}